body{
  min-height: 100vh;
  background: #f2f2f2;
  min-width: 1280px;
}
@import "in-index";
@import "in-index-crud";

/*btn*/
.btn{
  display: inline-block;
  width: 100px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #fff;
  color: #666666;
  border-radius: 5px;
  font-size: 14px;
  border: 1px solid #edecec;
}
.btn.btn-active{
  background: #ef4954;
  color: #fff;
}

/*table*/
table thead th{
  background: #505863 !important;
  color: #fff!important;
}

.top{
  height: 100px;
  border-bottom: 3px solid #cc0000;
  background: #fff;
  &>div{
    width: $comWidth;
    height: 100px;
    margin: 0 auto;
    line-height: 100px;
    a.hyzylogo{
      text-decoration: none;
      height: 100%;
      margin-left: 30px;
      span{
        border-left: 1px solid #ccc;
        color: #666666;
        font-size: 24px;
        text-decoration: none;
        padding-left: 15px;
      }
    }
    &>div.fr{
      height: 100px;
      margin-right:100px;
      .user-img{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        margin-right: 10px;

      }
      .user-control{
        display: inline-block;
        position: relative;
        vertical-align: middle;
        height: 40px;
        line-height: 40px;
        color: #666;
        font-size: 16px;
        cursor: pointer;
        padding-right: 18px;
        &:after{
          content: "";
          display: block;
          height: 0;
          border: 6px solid #fff;
          border-top: 6px solid #666;
          position: absolute;
          right: 0px;
          top: 17px;
        }
        ul{
          position: absolute;
          top: 40px;
          width: 160px;
          background: #fff;
          border: 1px solid #ccc;
          border-radius: 3px;
          box-shadow: 0 2px 3px 0 rgba(0,0,0,.3);
          li {
            border-bottom: 1px solid #ccc;
            &:last-of-type {
              border: none;
            }
            a{
              display: block;
              width: 100%;
              height: 100%;
              padding-left: 15px;
              box-sizing: border-box;
              &:hover{
                background: #ccc;
              }
            }
          }
        }
      }
      .message{
        font-size: 16px;
        color: #ccc;
        vertical-align: middle;
        margin-left: 10px;
      }
    }
  }
}
.bread{
  width: $comWidth;
  margin: 10px auto 0;
  height: 30px;
  line-height: 30px;
}
.main{
  width: $comWidth;
  margin: 10px auto;
  nav{
    width: 220px;
    background: #fff;
    min-height: calc(100vh - 263px);
    ul{
      margin-top: 45px;
      li{
        &:first-of-type{
          font-size: 18px;
          font-weight: bold;
          color: #525151;
          border-left: 2px solid #cc0000;
          padding-left: 30px;
        }
        padding-left: 35px;
        line-height: 35px;
      }
    }
  }
  &>div{
    background: #fff;
    margin-left: 235px;
    min-height: calc(100vh - 263px);
  }
}
.footer{
  height: 100px;
  background: #fff;
  line-height: 100px;
  &>div{
    width: $comWidth;
    margin: 0 auto;
    div.fl{
      p{
        line-height: 20px;
        color: #666;
        &:first-of-type{
          margin-top: 30px;
        }
      }
    }
  }
}
